<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* 正方形 */
        .box1{
            width: 200px;
            height: 200px;
            background: brown;
            margin: 0 auto;
            padding: 20px;
            border: 20px solid rebeccapurple;
            /* border-radius: 30px/60px; */
            /* 30px/60px    水平30px/垂直60px */

            /* border-top-left-radius: 30/60px; */
            /* 用不了，不支持 */

            /* border-radius: 0px 0px 50px 40px/0px 0px 50px 80px; */

            /* 变成一个圆 */
            border-radius: 50%;
            background-image: url(./img/微信截图_20220720194955.png);
        }
        /* 长方形 */
        .box2{
            width: 500px;
            height: 200px;
            background-color: green;
            margin: 0 auto;
            margin-top: 100px;
            /* 椭圆 */
            /* border-radius: 50%; */
            border-radius: 30px;
            background-image: url(./img/微信截图_20220720194955.png);

        }
    </style>
</head>
<body>
    <div class="box1"></div>
    <div class="box2"></div>
</body>
</html>